package com.shunli.cterminal.mapstruct;

import com.shunli.cterminal.entity.CollectionTemplateDetail;
import com.shunli.cterminal.model.res.StyleInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @className: CollectionTemplateConverter
 * @description: TODO
 * @author: DAIYALU
 * @date: 2024/4/13
 * @version: 1.0
 */
@Mapper
public interface CollectionTemplateConverter {

    CollectionTemplateConverter INSTANCE = Mappers.getMapper(CollectionTemplateConverter.class);

    List<StyleInfoVO> entityListToVOList(List<CollectionTemplateDetail> detailList);

}
